<?php
/**
 * Created by PhpStorm.
 * User: zhanghua
 * Date: 2018/9/25
 * Time: 20:50
 */

namespace app\sun\controller;


use app\common\controller\SunBaseController;
use app\sun\model\AdminRole;
use app\sun\service\AdminRoleService;

class RoleController extends SunBaseController
{

    public function addRole()
    {
       $post = $this->request->post();




       $adminRole = AdminRoleService::getRoleByAdminId(1);




//       var_dump($adminRole);exit;

    }

}